package com.comprehensive.personalfile.common;

import com.comprehensive.personalfile.util.NativeLibraryLoader;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class LibraryInitializer implements CommandLineRunner {
    @Override
    public void run(String... args) {
        NativeLibraryLoader.load("libtorrent4j");
        System.out.println("本地库加载完成");
    }
}
